//
//  VideoNewscoverinfo.m
//  WuLi
//
//  Created by Gollum on 16/09/02
//  Copyright (c) Gollum. All rights reserved.
//

#import "VideoNewscoverinfo.h"
#import "VideoNewsimageinfolist.h"

@implementation VideoNewscoverinfo

+ (NSDictionary *)objectClassInArray{
    return @{@"newsImageInfoList" : [VideoNewsimageinfolist class]};
}
- (void)setValue:(id)value forKey:(NSString *)key{
    [super setValue:value forKey:key];
    NSArray *valueArray = value;
    NSMutableArray <VideoNewsimageinfolist *>*newsArray = [NSMutableArray array];
    if ([key isEqualToString:@"newsImageInfoList"]) {
        for (NSDictionary *dic in valueArray) {
            VideoNewsimageinfolist *news = [VideoNewsimageinfolist modelWithDic:dic];
            [newsArray addObject:news];
        }
        _newsImageInfoList = newsArray;
    }

}

@end
